<?php
/**
 * 基础异常类 
 * 
 * @author river_he@eueang.com
 * @copyright www.eueang.com
 */
class Gospel_Exception extends Exception{

	public function debug(){
		?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Application Develop Debug</title>
</head>
<body>
<div>Error Code: <?php echo $this->getCode();?></div>
<div>Error Mess: <?php echo $this->getMessage();?></div>
<div>Error Stack:<pre><?php print_r($this);?></pre></div>
</body>
</html>
		<?php
	}
}
//end